﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PartyInvites.Model
{
    public class FakeRepository : IUserRepository
    {
        public List<User> Users = new List<User>();
        public bool isSubmint = false;
        public void Add(User item)
        {
            Users.Add(item);
        }

        public User Get(string userName)
        {
            return new User() { LoginName = userName };
        }

        public void SaveChanges()
        {
            isSubmint = true;
        }
    }
}
